.TH std::regex_error::code 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::regex_error::code \- std::regex_error::code

.SH Synopsis
   Defined in header <regex>
   std::regex_constants::error_type code() const;  \fI(since C++11)\fP

   Returns the std::regex_constants::error_type that was passed to the std::regex_error
   constructor.

.SH See also

   error_type    describes different types of matching errors
   \fI(C++11)\fP       \fI(typedef)\fP
   constructor   constructs a regex_error object
                 \fI(public member function)\fP
